package com.vincent.baseapp;

import android.app.Application;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.os.IBinder;
import android.support.annotation.Nullable;

import com.vincent.baseapp.util.view.LoadingView;

/**
 * Created by 0704 on 2016/9/21.
 */
public class BaseApplication extends Application {
    private static Context mContext;

    public static Context getContext() {
        return mContext;
    }

    private LoadingView mLoadingView;

    public LoadingView getLoadingView() {
        return mLoadingView;
    }

    public void setLoadingView(LoadingView loadingView) {
        mLoadingView = loadingView;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        mContext = this;

    }
}
